import server from "../util/request.js";

export function queryRecordsByPatientId(id){
    return server({
        url:`/nursing-record/${id}`,
        method:'get'
    })
}
export function addNursingRecord(data){
    return server({
        url:'/nursing-record',
        method:'post',
        data
    })
}